﻿using System.Web.Optimization;

namespace DevWeb.Biztalk.DeploymentSettings.WebUI.App_Start
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            BundleTable.EnableOptimizations = true;

            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                "~/Scripts/jquery-{version}.js"));

            

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/jquery.unobtrusive*",
                "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrapjs").Include(
                "~/Scripts/bootstrap.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/gridmvc").Include(
               "~/Scripts/gridmvc.min.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                "~/Scripts/modernizr-*"));
            bundles.Add(new StyleBundle("~/Content/bootstrapcss")
               .Include("~/Content/bootstrap.min.css", 
                        "~/Content/sb-admin.css", 
                        "~/Content/plugins/morris.css",
                        "~/Content/plugins/Site.css"));

            bundles.Add(new ScriptBundle("~/bundles/gridmvcjs").Include(
             "~/Scripts/gridmvc.min.js"));

            bundles.Add(new StyleBundle("~/Content/bootstrapcss")
              .Include("~/Content/bootstrap.min.css",
                       "~/Content/sb-admin.css",
                       "~/Content/plugins/morris.css",
                       "~/Content/plugins/Site.css"));


            bundles.Add(new StyleBundle("~/Content/gridmvccss")
               .Include("~/Content/Gridmvc.css",
                        "~/Content/gridmvc.datepicker.min.css"
            ));
            

            
        }
    }
}